package com.app.service;

import com.app.pojo.GasDetails;
import com.app.util.Result;
import com.app.vo.GasDetailsVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 燃气详细信息 服务类
 * </p>
 *
 * @author yoominic
 * @since 2024-07-29
 */
public interface IGasDetailsService extends IService<GasDetails> {

    GasDetailsVo getGasDetailsInfo(String account,String companyName);

    Map<String, Object> getSumGasDetailsInfo(String account,Integer userId);
    /**
     * Admin首页查询欠费用户数
     * @return
     */
    Integer countArrearsUserNum();

    GasDetailsVo getMyGasDetailsInfoList(Integer page, Integer limit, Integer userid );


    /**
     *
     * @param page
     * @param limit
     * @param keyword
     * @return
     */
    Result<List<GasDetails>> listPersonnelInformation(Integer page, Integer limit, String keyword);

    /**
     * admin删除
     * @param id
     * @return
     */
    Result deletePersonnelInformation(Integer id);


    Result addAndUpdatePersonnelInformation(GasDetails gasDetails);
}
